package testInheritance;

public class Employee {
	private String name;
	private String id;
	private int salary;
	
//	public Employee() {
//		
//	}
	public Employee(String name, String id) {
		this.name = name;
		this.id = id;
		System.out.println("in Employee()");
	}
	
	public String getName() {
		return this.name;
	}
	
	public String getId() {
		return this.id;
	}
	
	public void setSalary(int salary) {
		 this.salary = salary;
	}
	
	public int getSalary() {
		return this.salary;
	}
	
	public double getSalaryVaule() {
		return this.salary/100.0;
	}
	
}
